package com.atguigu.gulimall.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author weichen
 * @email 519543138@qq.com
 * @date 2022-11-07 下午9:26
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendSms")
    public R sendSms(@RequestParam("mobile") String mobile, @RequestParam("code") String code);
}
